﻿using ERPPublic;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductManagement.Domain.ProductsDomain
{
    /// <summary>
    /// 产品分类
    /// </summary>
    [SugarTable("ProductType")]
    public class ProductType: Audit
    {
        /// <summary>
        /// 产品分类Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int ProductTypeId { get; set; }
        /// <summary>
        /// 所属类别
        /// </summary>
        /// 

        [SugarColumn(ColumnDataType = "Nvarchar(50)")]//设计长度
        public string? PTClass { get; set; }
        /// <summary>
        /// 父级id
        /// </summary>
        /// 
        public int ? PFatherId { get; set; }
    }
}
